BetterErrors.editor = :textmate if defined? BetterErrors